﻿#region Using directives

using System;
using System.Text;
using System.CodeDom;
using System.Collections.Generic;

using SoftwareType = Weazel.Gezel.Conversions.Model.Type;

#endregion

namespace Weazel.Gezel.Conversions.Model
{
  public class Method : CodeMemberMethod
  {
    protected readonly Dictionary<string, string> comments;
    public Dictionary<string, string> Comments
    {
      get { return comments; }
    }

	  public Method(string name)
    {
      this.Name = name;
      this.comments = new Dictionary<string, string>();
    }

    public Method(string name, string returntype, bool isStatic, SoftwareType parent) :
      this(name)
    {
			if(isStatic)
				this.Attributes |= MemberAttributes.Static;
    }
  }
}
